package com.example.locks.exception;


/**
 * 通用结果编码枚举
 *
 * @author shishaopeng
 */

public enum BaseResultCodeEnum implements IResultCode, IDict<String> {

    //
    BIZ_ERROR("BIZ_ERROR", "业务处理异常");


    BaseResultCodeEnum(String code, String message) {
        init(code, message);
    }


    @Override
    public String getCode() {
        return IDict.super.getCode();
    }

    @Override
    public String getMessage() {
        return IDict.super.getText();
    }
}
